package com.erp4j.dynamicfield.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.erp4j.dynamicfield.entity.Order;
import com.erp4j.dynamicfield.vo.QueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends BaseMapper<Order> {
    IPage<Order> queryByDynamicConditions(Page<Order> page, 
                                         @Param("params") List<QueryParam> params);
}
